<?php 

if(!defined('ADMIN')){
	exit('Access Denied');
}



?>
<div class="pageHeader">
	<p class="topnam"><b>招聘信息 </b></p>
</div>
<form id="pagerForm" method="post" action="#rel#">
	<input type="hidden" name="pageNum" value="<?=$page?>" />
	<input type="hidden" name="numPerPage" value="<?=$pagesize?>" />
	<input type="hidden" name="orderField" value="<?=$orderField?>" />
	<input type="hidden" name="orderDirection" value="<?=$orderDirection?>" />
</form>
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="<?=u(MOD,'interviewlist',array('q'=>$q))?>" method="post">
	<div class="searchBar">
		<ul class="searchContent">
        <table class="searchContent">
        <tr><td>查询内容：<input type="text" name="q" value="<?=$q?>" /></td>
        <td><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></td>
        </tr>
        </table>
	</div>
	</form>
</div>

<div class="pageContent">

	<table class="table" width="100%" layoutH="148">
		<thead>
			<tr>
				<th width="25"><input type="checkbox" group="ids[]" class="checkboxCtrl"></th>
				<th width="50" class="center" orderField="id" <? if($orderField=="id"){?>class="<?=$orderDirection?>"<?}?>>ID</th>  
                 <th  class="center">招聘公司</th>
                 <th width="100" class="center">招聘部门</th>          
				<th width="100" class="center">职位名称</th>            
                <th width="80" class="center">应聘者姓名</th>
                <th  class="center">所在院校</th>
                <th width="100" class="center">所学专业</th>
                <th width="120" class="center">面试时间</th>
                <th width="80">状态</th>
			</tr>
		</thead>
        <tbody>
        <?
       if(!empty($jobslist)){
        while(list($k,$v)=each($jobslist)){
                            
        ?>
		<tr target="id" rel="<?=$r["id"]?>" style="height: 25px;line-height: 25px;">
				<td class="center"><input name="ids[]" value="<?=$v["id"]?>" type="checkbox" /></td>
				<td class="center"><?=$v["id"]?></td>
                <td class="center"><a title="查看应聘信息" target="dialog" href="index.php?mod=content&act=interview&id=<?=$v["id"]?>" style="font-weight: 700;text-decoration:underline;"><?=$v["companyname"]?></a></td>
                <td class="center"><?=$v["dept"]?></td>
                <td class="center"><a title="查看职位描述" target="dialog" href="index.php?mod=content&act=viewjobs&id=<?=$v["jobsid"]?>" style="font-weight: 700;"><?=$v["jobsname"]?></a></td>
                <td class="center"><a title="查看简历" target="dialog" href="index.php?mod=content&act=viewstu&id=<?=$v["uid"]?>" style="font-weight: 700;"><?=$v["realname"]?></a></td>
				<td class="center"><?=$v["schoolname"]?></td>
                
				<td class="center"><?=$v["mainprofession"]?></td>
            
            <td class="center"><?=$v["fromdate"]?></td>
                <td class="center"><?=$inteview_arr[$v["status"]]?></td>
			</tr>
    <?
    }
    }
    ?>
		</tbody>
	</table>            
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})" id="PageSize">
				<option value="20" <? if($pagesize==20){ echo 'selected="true"';}?>>20</option>
				<option value="50" <? if($pagesize==50){ echo 'selected="true"';}?>>50</option>
				<option value="100" <? if($pagesize==100){ echo 'selected="true"';}?>>100</option>
				<option value="200" <? if($pagesize==200){ echo 'selected="true"';}?>>200</option>
			</select>
			<span>条，共<?php echo $total;?>条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="<?php echo $total;?>" numPerPage="<?=$pagesize?>" pageNumShown="10" currentPage="<?=$page?>"></div>

	</div>
 
</div>    
